<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class jqmAttribute</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class jqmAttribute</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class represents an attribute of an HTML tag.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Bruno Maia &lt;<a href="mailto:brunoleaomaia@gmail.com">brunoleaomaia@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> 0.03</li>
				<li><span class="field">copyright:</span> Copyright (c) 2011, Bruno Maia</li>
				<li><span class="field">link:</span> <a href="http://www.jqmphp.com/">jqmPhp Website</a></li>
				<li><span class="field">link:</span> <a href="http://www.jquerymobile.com">jQuery Mobile Website</a></li>
				<li><span class="field">link:</span> <a href="http://code.google.com/p/jqmphp/">jqmPhp Project Website</a></li>
				<li><span class="field">since:</span> 0.01</li>
				<li><span class="field">license:</span> <a href="http://www.gnu.org/licenses/gpl.html">GNU Public License</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_lib---jqmAttribute.php.html">/lib/jqmAttribute.php</a> (line <span class="field"><a href="../__filesource/fsource_jqmPhp__libjqmAttribute.php.html#a38">38</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																												
												<div class="method-definition">
											<span class="method-result">jqmAttribute</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$allowBlank</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool|<a href="../jqmPhp/jqmAttribute.html">jqmAttribute</a></span>
										<a href="#allowBlank" title="details" class="method-name">allowBlank</a>
											(<span class="var-type">bool</span>&nbsp;<span class="var-name">$allow</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string|<a href="../jqmPhp/jqmAttribute.html">jqmAttribute</a></span>
										<a href="#name" title="details" class="method-name">name</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string|<a href="../jqmPhp/jqmAttribute.html">jqmAttribute</a></span>
										<a href="#value" title="details" class="method-name">value</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_jqmPhp__libjqmAttribute.php.html#a48">48</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">jqmAttribute</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$allowBlank</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$allowBlank</span>			</li>
				</ul>
		
			
	</div>
<a name="methodallowBlank" id="allowBlank"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">allowBlank</span> (line <span class="line-number"><a href="../__filesource/fsource_jqmPhp__libjqmAttribute.php.html#a89">89</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets and sets the allowBlank property.</p>
<p class="description"><p>If the allowBlank is false and the value property is empty no code is generated.</p></p>
	
	<div class="method-signature">
		<span class="method-result">bool|<a href="../jqmPhp/jqmAttribute.html">jqmAttribute</a></span>
		<span class="method-name">
			allowBlank
		</span>
					(<span class="var-type">bool</span>&nbsp;<span class="var-name">$allow</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$allow</span>			</li>
				</ul>
		
			
	</div>
<a name="methodname" id="name"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">name</span> (line <span class="line-number"><a href="../__filesource/fsource_jqmPhp__libjqmAttribute.php.html#a66">66</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets and sets the attribute name property.</p>
	
	<div class="method-signature">
		<span class="method-result">string|<a href="../jqmPhp/jqmAttribute.html">jqmAttribute</a></span>
		<span class="method-name">
			name
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalue" id="value"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">value</span> (line <span class="line-number"><a href="../__filesource/fsource_jqmPhp__libjqmAttribute.php.html#a77">77</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets and sets the attribute value property.</p>
	
	<div class="method-signature">
		<span class="method-result">string|<a href="../jqmPhp/jqmAttribute.html">jqmAttribute</a></span>
		<span class="method-name">
			value
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">__toString</span> (line <span class="line-number"><a href="../__filesource/fsource_jqmPhp__libjqmAttribute.php.html#a56">56</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 22 Mar 2011 19:16:20 -0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>